package com.wyl.auth.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.wyl.common.BaseModel;
import lombok.Data;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedBy;
import org.springframework.data.annotation.LastModifiedDate;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Description 字典类型表
 * @Author WuYiLong
 * @Date 2025-04-27
 */
@EntityListeners(AuditingEntityListener.class)
@Data
@TableName("sys_dict_type")
@Entity
@Table(name="sys_dict_type")
@org.hibernate.annotations.Table(appliesTo = "sys_dict_type",comment = "字典类型表")
public class SysDictType extends BaseModel<SysDictType> {

    private static final long serialVersionUID = 1L;

    @Column(columnDefinition = "varchar(200) comment '字典类型名称'")
    private String typeName;

    @Column(columnDefinition = "varchar(200) comment '字典类型编码''")
    private String typeCode;

    @Column(columnDefinition = "tinyint comment '状态（0正常 1停用）'")
    private Integer status;

    @Column(columnDefinition = "varchar(200) comment '备注'")
    private String remark;

}
